<?php
/**
 * Created by PhpStorm.
 * User: luomo
 * Date: 2019-03-14
 * Time: 13:51
 */

namespace Biz\pockets\callback;


interface taskCallback
{
    const CALLBACK_METHOD = 'taskCallback';

    /**
     * @param $sign //调用的唯一标识
     * @param $result //调用结果
     * @return mixed 正常处理请返回true，只有返回true才认为回调成功
     */
    public static function taskCallback($sign, $result);
}